home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / aiz451.zip / FWD.DOC < prev    next >
Text File  |  1991-03-10  |  8KB  |  408 lines

  1.              **********  FORWARD  **********
  2.  
  3.  
  4.     *  This BBS offers automatic fwd of mails and bulletins  to
  5.     other bbss. You have to mark bbs stations by using the 'EU'
  6.     command and put their bid flag as 'Y'. Then you have to set
  7.     up,two forward files,telling bbs what to do.
  8.  
  9.     1.BBS.FWD : In this file ,there are  instructions  for  the
  10.     bbs,about how it will get the fwd station.  Each  station's
  11.     path,must start and finish with a '---'.
  12.  
  13.     Example: We suppose that we have fwd paths  with  SV1IW  ON
  14.     the   1st   port   AND   SV1JO   ON   the   2nd   port.(1st
  15.     port=Com1(default 0),2nd  port=Com2(default  1).  For  DRSI
  16.     card,use always virtual ports,one more above your  existing
  17.     ports.)
  18.  
  19.     The fwd file will look like this:
  20.  
  21.     ---
  22.     0 SV1IW N          (PORTNo CALL TYPE OF FWD)
  23.     T 0023             (TIME - MIN TIME- MAX TIME)
  24.     C SV1IW            (CMD SEND TO TNC)
  25.     ---
  26.     1 SV1JO N
  27.     T 0023 
  28.     C SV1JO 
  29.     --- 
  30.  
  31.     If we want to connect to SV1IW From a node ON VHF  we  have 
  32.     to add: 
  33.     (We suppose that node's call is J47VAA(TheNet).) 
  34.  
  35.     --- 
  36.     1 SV1IW N 
  37.     T 0023 
  38.     C J47VAA 
  39.     S*C SV1IW            (TEXT TO SEND) 
  40.     R*Connected to       (TEXT WE MUST RECEIVE IF ALL OK)
  41.     ----
  42.  
  43.     Another example via KANODE.
  44.  
  45.     --- 
  46.     1 SV7QI N 
  47.     T 0023
  48.     C SV7NW-2 
  49.     M*?                (Wait until receive a '?') 
  50.     S*C SV7QI          (Text to send) 
  51.     R*###LINK MADE     (Text we must receive) 
  52.     --- 
  53.  
  54.     An example for the DRSI card. 
  55.  
  56.     --- 
  57.     2 SV7QI N 
  58.     T 0023              (Default virtual port) 
  59.     C SV7QI 
  60.     --- 
  61.     2 IT9UBA N
  62.     T 0023              (2nd virtual port)
  63.     C1:IT9UBA-8 
  64.     ---
  65.  
  66.     If in case of a port number,we add : 
  67.  
  68.     1) T,then export procedure starts for that station when fwd
  69.     starts. 
  70.  
  71.     e.g: 
  72.     --- 
  73.     T SV7AIZ N            (EXPORT CODE,CALL,FWD TYPE(always N)) 
  74.     T 0023                (TIME TO DO THIS) 
  75.     SV7AIZ.TXT            (TEXT FILE TO EXPORT) 
  76.     --- 
  77.  
  78.     2) D,then bbs executes dos command. 
  79.  
  80.     e.g 
  81.     --- 
  82.     D SOME.COM
  83.     T 1114
  84.     --- 
  85.       If D becomes DN,bbs executes dos cmd only when it is free
  86.     from connections. 
  87.  
  88.     e.g 
  89.     ---
  90.     DN QSY 
  91.     T 1213     (In case of at least one  connected  channel,bbs 
  92.                 ignores this topic.) 
  93.     --- 
  94.  
  95.     3) S,then bbs disconnects all the channels. 
  96.  
  97.     e.g 
  98.     --- 
  99.     S 
  100.     T 1214 
  101.     --- 
  102.  
  103.  
  104.  
  105.     4) L,then bbs locks.It is the same as we  send  Y0  and  MN 
  106.     commands to the tncs.
  107.  
  108.     e.g 
  109.     --- 
  110.     L
  111.     T 1214 
  112.     --- 
  113.  
  114.     5) U,then bbs unlocks the channels. 
  115.  
  116.     e.g 
  117.     --- 
  118.     U 
  119.     T 1214 
  120.     --- 
  121.  
  122.     6) C,Then bbs sends tnc commands to the specified channel. 
  123.  
  124.     e.g.
  125.     ---
  126.     C 3 
  127.     T 0023
  128.     N15 
  129.     T50 
  130.     --- 
  131.  
  132.  
  133.     *  Procedures  3,4,5  are  useful  when  bbs  executes  dos 
  134.     commands during fwd. If you  wish  for  example  to  run  a 
  135.     housekeeping program or something else which will hold  its 
  136.     process for some  time,then  you  do  not  want  to  accept 
  137.     connections. 
  138.  
  139.  
  140.  
  141.  
  142.     Fwd types: 
  143.  
  144.     N   : For normal fwd: 
  145.     RO  : For reverse fwd only.
  146.     RF  : Start fwd,even if we haven't any msg to send.
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.                ** Other options. **
  159.  
  160.  
  161.      -  We can specify the max length of files we fwd  to  each 
  162.     station by adding a '<x'   description. We  can  have  more 
  163.     than one 'T' descriptions. 
  164.  
  165.      For example: 
  166.  
  167.      ---
  168.      0 PA3AIR N 
  169.      T 0003 <2     (From 00 to 03 anything less than 2kbytes)
  170.      T 0409 <4     (From 04 to 09 anything less than 4kbytes) 
  171.      T 1023        (From 10 to 23 any length) 
  172.      C PA3AIR 
  173.      ---
  174.  
  175.     -  We can specify which days we'll fwd to each  station  by 
  176.     adding a 'x-y' description. 
  177.  
  178.        Days are : 
  179.  
  180.        0:Sunday. 
  181.        1:Monday. 
  182.        2:Tuesday. 
  183.        3:Wednesday. 
  184.        4:Thursday. 
  185.        5:Friday. 
  186.        6:Saturday. 
  187.  
  188.      For example :
  189.  
  190.      ---
  191.      0 PA3AIR N 
  192.      T  0003  0-3  (From 00 to 03 on Sunday through Wednesday) 
  193.      T  0410  4-6  (From 04 to 10 on Thursday through Saturday) 
  194.      T  1219  1-4  <5   (From 12 to 19 on Monday through
  195.      C PA3AIR            Thursday,less than 5kbytes) 
  196.      --- 
  197.  
  198.        -  We can fwd on more than one channels or ports at  the 
  199.     same time,during each fwd cycle or during manualy  fwd.  In 
  200.     the BBS.FWD file,we have to add a '>' as the  last  cmd  on 
  201.     each path, we don't wish to lock. 
  202.  
  203.     For example, if we have to do fwd on ports 0 and 1  at  the 
  204.     same time,to avoid 
  205.     loss of time,we have to add. 
  206.  
  207.  
  208.  
  209.     ---
  210.     0 IN3TUR N 
  211.     T 0023 <5
  212.     C IN3TUR-8 
  213.     >                            (Continue with the next path.) 
  214.     --- 
  215.     1 SV7QI N
  216.     T 0023
  217.     C SV7QI                      (Don't continue,until
  218.     ---                           disconnect or end of fwd.)
  219.     0 PA3AIR N
  220.     T 0023 <5
  221.     C PA3AIR
  222.     ---
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.     2.DEST.FWD : Destination file. 
  262.  
  263.        When we receive a bulletin or a  mail,bbs  has  to  know 
  264.     where to send it. You  have  to  set  this  file  correct.A 
  265.     destination description,must start and finish, also with  a 
  266.     '---'. Destinations are, calls with a  '@'  in  front,which
  267.     means,bbs checks only the @bbs  field  of  the  msg,missing
  268.     calls with a '*',which means,bbs matches the  address  call
  269.     up to '*'  and  full  calls,which  means  bbs  matches  the
  270.     address call.  In  case  of  hierarchical  fwd,we  can  add
  271.     descriptions with a '.' in front.
  272.  
  273.     Example :
  274.     We suppose @EU bulletins have to go  to  SV1IW,SV1JO.SV1XXX
  275.     mails have to go to SV1JO and SV1IW mails  have  to  go  to
  276.     SV1IW.
  277.  
  278.     The destination file will look like this:
  279.  
  280.     ---
  281.     @EU
  282.     SV1IW
  283.     SV1JO
  284.     ---
  285.     @SV1IW
  286.     SV1IW
  287.     ---
  288.     @ALLS*
  289.     SV1IW
  290.     ---
  291.     @SV1JO
  292.     SV1JO
  293.     ---
  294.     SV1IW
  295.     SV1IW
  296.     ---
  297.     SV1*  (every * goes last)
  298.     SV1JO
  299.     ---
  300.     .NA   (Hierarchical fwd.BBs matches any NA in the @ field.)
  301.     EI6EH
  302.     5B4TX
  303.     ---
  304.     .USA
  305.     4X1RU
  306.     ---
  307.     OE*      (We have a different WAY here,which decreases the
  308.     DK8AT    (time of a mail to catch its destination.
  309.     IT9UBA   (We say that all OE mails
  310.     SV1IW    (have to go to DK8AT or IT9UBA  or  SV1IW.It
  311.     ---      (means,this  mail  will  go  to  one   of   these
  312.               stations,except we have declared the type of msg
  313.               as 'S'.)
  314.  
  315.  
  316.              ** MORE OPTIONS
  317.  
  318.  
  319.          -  We can have two wildcard callsigns,which match  any
  320.     call to a given bbs station. If we wish to send all unknown
  321.     destinations to SV7QI,we have to add the  following,as  the
  322.     last  always,description.(Use  with care)
  323.  
  324.     ---
  325.     #          (It works only when there is no  @bbs  field  in
  326.     SV7QI       the header)
  327.     ---
  328.     $          (It works in any case)
  329.     SV7QI
  330.     ---
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.          ** BULLETIN HOLD
  359.  
  360.          - We can hold any bulletin,or  groups   of   bulletins  
  361.     from being fwdded to  any  station.This  can  be  done,  by 
  362.     creating a file  with  the name of the station we  have  to  
  363.     hold.This  file,will  have   an   '.HLD'   as  extension.It 
  364.     has the same format,like the 'DEST.FWD' file,  but  without 
  365.     any dashes. 
  366.  
  367.     Let's see an example: 
  368.         We wish  to  hold  all  these  bulletins  addressed  to  
  369.     AMSAT,all these with  BBS  field  ALLE  ,  all  these  msgs
  370.     addressed  to  any  SV7XXX,all these come  from  I0IEX  and 
  371.     all these  come  from  any  I0,from   being   forwarded  to 
  372.     IN3TUR. We wish also to  hold  msg  1215  and   all   these  
  373.     messages between 900 and 1000. We have  to  create  a  text 
  374.     file named  'IN3TUR.HLD'  with   an  editor,  or  with  the 
  375.     built in editor, and put the following in it :
  376.  
  377.  
  378.  
  379.     @ALLE 
  380.     AMSAT 
  381.     SV7* 
  382.     <I0IEX 
  383.     <I0* 
  384.     #1215 
  385.     #1000 - 900 
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.     Enjoy!!!Spiros. 
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.